package com.ruoyi.merchant.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 流水列表VO
 */
@Data
//流水列表项
public class FlowListVO {
    
    //流水ID
    private Long flowId;
    
    //流水号
    private String flowNo;
    
    //流水类型
    private Integer flowType;
    
    //流水类型名称
    private String flowTypeName;
    
    //业务类型
    private Integer businessType;
    
    //业务类型名称
    private String businessTypeName;
    
    //金额
    private BigDecimal amount;
    
    //平台佣金
    private BigDecimal commissionAmount;
    
    //实际到账金额
    private BigDecimal actualAmount;
    
    //变动前余额
    private BigDecimal balanceBefore;
    
    //变动后余额
    private BigDecimal balanceAfter;
    
    //关联订单ID
    private Long relatedOrderId;
    
    //备注
    private String remark;
    
    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdAt;
}
